package com.college_career_system.service;

import com.alibaba.fastjson.JSONObject;
import com.college_career_system.pojo.dto.UserDTO;
import com.college_career_system.pojo.po.User;
import com.baomidou.mybatisplus.extension.service.IService;

import javax.servlet.http.HttpServletRequest;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author Empty
 * @since 2022-12-04
 */
public interface UserService extends IService<User> {

    /**
     * 学生注册
     * @param stu
     *
     */
    JSONObject addUser(UserDTO stu);

    /**
     * 查询自己的投递信息
     * @param request
     * @return
     */
    JSONObject selectMySubmit(HttpServletRequest request);

    /**
     * 更新密码
     * @param request
     * @param pwd
     * @return
     */
    JSONObject updatePassWordById(HttpServletRequest request, String pwd);
}

